use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct EndpointPeer {
    pub endpoint_id: String,
    pub peer_endpoint_id: String,
}

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct EndpointPeerItem {
    pub endpoint_peer_id: String,
    #[serde(flatten)]
    pub inner : EndpointPeer
}